home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / ALL96.LZH / t0210 / text0034.txt < prev    next >
Encoding:
Text File  |  1996-03-07  |  1.9 KB  |  44 lines

  1. > > I'm not surprised by that but I remember a message from Doug posted in 
  2. > > N.Falcon.Misc long time ago about using that 256 color mode on Falcon. He 
  3. > > said it's possible to write not such slow routines even for 8-bit planes.
  4. > It's significantly slower though... Maybe the textures etc. could be
  5.  
  6. It's not significantly slower if you do it right.
  7. What you do is that you write the image as if you had a real byte per
  8. pixel graphics mode and then run a chunky to planar conversion on it.
  9.  
  10. Of course most chunky to planar conversion routines are rather slow, but
  11. that's not the case with the one I use in MGIFv5 (or the one Doug uses in
  12. APEXGIF 4.21 [looks slower], but for us the DSP is not available).
  13.  
  14. Timing by stop watch gives something like 0.8s for a full 640x480 8 bit
  15. chunky to planar conversion in MGIF.
  16. For a 160x100 display the conversion time will be:
  17. 0.8*160*100/(640*480) ~= 0.042s
  18.  
  19. If we assume that BAD MOOD would run at 10fps in 160x100 with a byte per
  20. pixel mode, the same thing would be displayed at:
  21. 1/(1/10+0.042) ~= 7 fps
  22. in a normal Atari bitplane mode.
  23.  
  24. That's not bad at all and assumes a computer as slow as the normal
  25. Falcon030 doing the conversion. The 10fps figure might well be on the
  26. low side as well for the machines in question.
  27.  
  28. > converted into Atari's interleaved planar gfx format at load time?
  29.  
  30. That would most likely not help at all since the graphics are drawn in strips.
  31. You'd have to do extra reads to mask each pixel written.
  32.  
  33. > Palette handling would be similar to 8-bit chunky modes I guess...?
  34.  
  35. Yes, the palette could be handled in exactly the same way as in PC DOOM.
  36.  
  37. -- 
  38.   Chalmers University   | Why are these |  e-mail:   rand@cd.chalmers.se
  39.      of Technology      |  .signatures  |            johan@rand.thn.htu.se
  40.                         | so hard to do |  WWW/ftp:  rand.thn.htu.se
  41.    Gothenburg, Sweden   |     well?     |            (MGIFv5, QLem, BAD MOOD)
  42.  
  43.